import http from './http.js'

export const getBanner = ()=>{
	return http('/user/getBanner')
}

export const getFlow = ()=>{
	return http('/user/getHomeList')
}

export const login = (code)=>{
	return http('/login', {code}, 'POST')
}

export const getUserInfo = ()=>{
	return http('/getUserInfo')
}

export const getDetailProject = ()=>{
	return http('/detail/project')
}

export const getProjectInfo = (data)=>{
	return http('/project/info', data)
}

export const getLikeList = ()=>{
	return http('/like/list')
}